package com.sitech.openapi.domain.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

@ApiModel(value = "OfferInstMember", description = "销售品实例构成")
public class OfferInstMember implements Serializable {

    private static final long serialVersionUID = 1L;

    // 引用一组资源OfferProdInstRel
    @ApiModelProperty(value = "销售品产品实例关系")
    private List<OfferProdInstRel> offerProdInstRels;
    // 引用一组资源ProdInst
    @ApiModelProperty(value = "产品实例标识")
    private List<ProdInst> prodInsts;

    public List<OfferProdInstRel> getOfferProdInstRels() {
        return offerProdInstRels;
    }

    public void setOfferProdInstRels(List<OfferProdInstRel> offerProdInstRels) {
        this.offerProdInstRels = offerProdInstRels;
    }

    public List<ProdInst> getProdInsts() {
        return prodInsts;
    }

    public void setProdInsts(List<ProdInst> prodInsts) {
        this.prodInsts = prodInsts;
    }

    @Override
    public String toString() {
        return "OfferInstMember{" +
                "offerProdInstRels=" + offerProdInstRels +
                ", prodInsts=" + prodInsts +
                '}';
    }
}
